package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 组件IP配置表-实体
 * @author zfsn
 * @date 2023-3-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "组件IP配置表", description = "组件IP配置表")
@TableName("conf_component_ip")
public class ConfComponentIp extends BasePage<ConfComponentIp> {

	/**
	 * 主键，唯一标识数据
	 */
	@ApiModelProperty(value = "主键", notes = "主键，唯一标识数据")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 主键，唯一标识数据
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "主键", notes = "主键，唯一标识数据")
	private List<Integer> ids;

	/**
	 * 所属系统id
	 */
	@ApiModelProperty(value = "所属系统id", notes = "所属系统id")
	private Integer systemId;

	/**
	 * 所属网端id
	 */
	@ApiModelProperty(value = "所属网端id", notes = "所属网端id")
	private Integer segmentId;

	/**
	 * IP
	 */
	@ApiModelProperty(value = "IP", notes = "IP")
	private String ip;

	/**
	 * 端口，可配置范围，如"8080|8081"、"1 ~ 65535"等
	 */
	@ApiModelProperty(value = "端口", notes = "端口，可配置范围，如【`8080|8081`、`1 ~ 65535`等")
	private String port;

	/**
	 * 显示顺序
	 */
	@ApiModelProperty(value = "显示顺序", notes = "显示顺序")
	private Integer sequence;

	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人", notes = "创建人")
	private String createBy;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", notes = "创建时间")
	private LocalDateTime createTime;

	/**
	 * 更新人
	 */
	@ApiModelProperty(value = "更新人", notes = "更新人")
	private String updateBy;

	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间", notes = "更新时间")
	private LocalDateTime updateTime;

	/**
	 * 是否逻辑删除，0：否、1：是
	 */
	@ApiModelProperty(value = "是否逻辑删除", notes = "是否逻辑删除，0：否、1：是")
	private Integer isDel;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注", notes = "备注")
	private String remarks;


	/**
	 *
	 */
	@ApiModelProperty(value = "过滤状态 0非过滤 1过滤", notes = "")
	private Integer isFilter;

	/**
	 *
	 */
	@ApiModelProperty(value = "同步状态 0未同步，1已同步", notes = "")
	private Integer synchState;

	/**
	 * 所属系统ids
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "所属网端ids", notes = "所属网端ids")
	private Integer segmentIds;

	/**
	 * 所属网端名称
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "所属网端名称", notes = "所属网端名称")
	private Integer segmentName;


	/**
	 * 系统名称
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "系统名称", notes = "系统名称")
	private Integer systemName;
}